package com.iweb.user.dao;

import com.iweb.user.model.User;

public interface UserDao {
    User queryByUsernameAndPassword(String username, String password);
    long findByUsername(String username);
    int saveOne(User user);
    User getUserById(int userId);
    boolean deleteUser(int userId);
    boolean updateUser(User user);
}
